home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| dexmagic
| PrintFox/Pagefox WEAK
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/news
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 6e 6e | 74 70 2e 75 69 6f 2e 6e |Path: nn|tp.uio.n|
|00000010| 6f 21 75 73 65 6e 65 74 | 0a 46 72 6f 6d 3a 20 4a |o!usenet|.From: J|
|00000020| 61 72 6c 65 20 53 74 61 | 62 65 6c 6c 20 3c 6a 61 |arle Sta|bell <ja|
|00000030| 72 6c 65 2e 73 74 61 62 | 65 6c 40 64 6f 6b 70 72 |rle.stab|el@dokpr|
|00000040| 6f 2e 75 69 6f 2e 6e 6f | 3e 0a 4e 65 77 73 67 72 |o.uio.no|>.Newsgr|
|00000050| 6f 75 70 73 3a 20 63 6f | 6d 70 2e 6f 62 6a 65 63 |oups: co|mp.objec|
|00000060| 74 2c 63 6f 6d 70 2e 6c | 61 6e 67 2e 65 69 66 66 |t,comp.l|ang.eiff|
|00000070| 65 6c 2c 63 6f 6d 70 2e | 6c 61 6e 67 2e 63 2b 2b |el,comp.|lang.c++|
|00000080| 2c 63 6f 6d 70 2e 6c 61 | 6e 67 2e 62 65 74 61 2c |,comp.la|ng.beta,|
|00000090| 63 6f 6d 70 2e 6c 61 6e | 67 2e 6a 61 76 61 2c 63 |comp.lan|g.java,c|
|000000a0| 6f 6d 70 2e 6c 61 6e 67 | 2e 73 61 74 68 65 72 0a |omp.lang|.sather.|
|000000b0| 53 75 62 6a 65 63 74 3a | 20 52 65 3a 20 57 68 61 |Subject:| Re: Wha|
|000000c0| 74 20 53 68 6f 75 6c 64 | 20 41 6e 20 45 78 63 65 |t Should| An Exce|
|000000d0| 70 74 69 6f 6e 20 48 61 | 6e 64 6c 69 6e 67 20 44 |ption Ha|ndling D|
|000000e0| 6f 3f 20 2d 2d 20 43 6c | 61 72 69 66 69 63 61 74 |o? -- Cl|arificat|
|000000f0| 69 6f 6e 20 6f 66 20 72 | 75 6c 65 73 0a 44 61 74 |ion of r|ules.Dat|
|00000100| 65 3a 20 32 39 20 4d 61 | 72 20 31 39 39 36 20 31 |e: 29 Ma|r 1996 1|
|00000110| 37 3a 35 34 3a 32 32 20 | 47 4d 54 0a 4f 72 67 61 |7:54:22 |GMT.Orga|
|00000120| 6e 69 7a 61 74 69 6f 6e | 3a 20 55 6e 69 76 65 72 |nization|: Univer|
|00000130| 73 69 74 79 20 6f 66 20 | 4f 73 6c 6f 2c 20 4e 6f |sity of |Oslo, No|
|00000140| 72 77 61 79 0a 4d 65 73 | 73 61 67 65 2d 49 44 3a |rway.Mes|sage-ID:|
|00000150| 20 3c 34 6a 68 38 34 65 | 24 31 62 35 40 72 61 74 | <4jh84e|$1b5@rat|
|00000160| 61 74 6f 73 6b 2e 75 69 | 6f 2e 6e 6f 3e 0a 52 65 |atosk.ui|o.no>.Re|
|00000170| 66 65 72 65 6e 63 65 73 | 3a 20 3c 44 6f 71 33 73 |ferences|: <Doq3s|
|00000180| 76 2e 4d 7a 41 40 72 65 | 73 65 61 72 63 68 2e 61 |v.MzA@re|search.a|
|00000190| 74 74 2e 63 6f 6d 3e 20 | 3c 31 39 39 36 4d 61 72 |tt.com> |<1996Mar|
|000001a0| 32 35 2e 31 36 30 37 30 | 32 2e 31 34 32 32 39 40 |25.16070|2.14229@|
|000001b0| 73 63 68 62 62 73 2e 6d | 6f 74 2e 63 6f 6d 3e 0a |schbbs.m|ot.com>.|
|000001c0| 4e 4e 54 50 2d 50 6f 73 | 74 69 6e 67 2d 48 6f 73 |NNTP-Pos|ting-Hos|
|000001d0| 74 3a 20 70 63 68 66 34 | 36 37 2e 75 69 6f 2e 6e |t: pchf4|67.uio.n|
|000001e0| 6f 0a 4d 69 6d 65 2d 56 | 65 72 73 69 6f 6e 3a 20 |o.Mime-V|ersion: |
|000001f0| 31 2e 30 0a 43 6f 6e 74 | 65 6e 74 2d 54 79 70 65 |1.0.Cont|ent-Type|
|00000200| 3a 20 74 65 78 74 2f 70 | 6c 61 69 6e 3b 20 63 68 |: text/p|lain; ch|
|00000210| 61 72 73 65 74 3d 75 73 | 2d 61 73 63 69 69 0a 43 |arset=us|-ascii.C|
|00000220| 6f 6e 74 65 6e 74 2d 54 | 72 61 6e 73 66 65 72 2d |ontent-T|ransfer-|
|00000230| 45 6e 63 6f 64 69 6e 67 | 3a 20 37 62 69 74 0a 58 |Encoding|: 7bit.X|
|00000240| 2d 4d 61 69 6c 65 72 3a | 20 4d 6f 7a 69 6c 6c 61 |-Mailer:| Mozilla|
|00000250| 20 31 2e 32 4e 20 28 57 | 69 6e 64 6f 77 73 3b 20 | 1.2N (W|indows; |
|00000260| 49 3b 20 31 36 62 69 74 | 29 0a 54 6f 3a 20 73 68 |I; 16bit|).To: sh|
|00000270| 61 6e 67 40 63 6f 72 70 | 2e 6d 6f 74 2e 63 6f 6d |ang@corp|.mot.com|
|00000280| 0a 0a 73 68 61 6e 67 40 | 63 6f 72 70 2e 6d 6f 74 |..shang@|corp.mot|
|00000290| 2e 63 6f 6d 20 28 44 61 | 76 69 64 20 4c 2e 20 53 |.com (Da|vid L. S|
|000002a0| 68 61 6e 67 29 20 77 72 | 6f 74 65 3a 0a 0a 3e 4d |hang) wr|ote:..>M|
|000002b0| 6f 72 65 20 65 78 61 6d | 70 6c 65 73 3a 0a 3e 0a |ore exam|ples:.>.|
|000002c0| 3e 20 20 20 20 20 20 2a | 20 74 68 65 20 66 6f 6e |> *| the fon|
|000002d0| 74 20 64 6f 65 73 20 6e | 6f 74 20 65 78 69 73 74 |t does n|ot exist|
|000002e0| 20 61 6e 64 20 61 20 71 | 75 65 72 79 20 74 6f 20 | and a q|uery to |
|000002f0| 74 68 65 20 75 73 65 72 | 20 69 73 20 72 65 71 75 |the user| is requ|
|00000300| 69 72 65 64 20 74 6f 0a | 3e 09 67 65 74 20 74 68 |ired to.|>.get th|
|00000310| 65 20 73 75 62 73 74 69 | 74 75 74 69 6e 67 20 66 |e substi|tuting f|
|00000320| 6f 6e 74 3b 0a 3e 20 20 | 20 20 20 20 2a 20 74 68 |ont;.> | * th|
|00000330| 65 20 69 6e 70 75 74 20 | 69 73 20 69 6e 20 74 68 |e input |is in th|
|00000340| 65 20 77 72 6f 6e 67 20 | 74 79 70 65 20 61 6e 64 |e wrong |type and|
|00000350| 20 61 6e 20 69 6e 70 75 | 74 20 72 65 74 72 79 20 | an inpu|t retry |
|00000360| 69 73 20 72 65 71 75 69 | 72 65 64 3b 0a 3e 20 20 |is requi|red;.> |
|00000370| 20 20 20 20 2a 20 74 68 | 65 20 66 69 6c 65 20 69 | * th|e file i|
|00000380| 73 20 6e 6f 74 20 61 73 | 73 6f 63 69 61 74 65 64 |s not as|sociated|
|00000390| 20 77 69 74 68 20 61 20 | 64 65 66 61 75 6c 74 20 | with a |default |
|000003a0| 68 61 6e 64 6c 65 72 2c | 20 77 6f 75 6c 64 20 79 |handler,| would y|
|000003b0| 6f 75 0a 3e 09 6c 69 6b | 65 20 74 6f 20 61 73 73 |ou.>.lik|e to ass|
|000003c0| 6f 63 69 61 74 65 20 6f | 6e 65 20 61 6e 64 20 6c |ociate o|ne and l|
|000003d0| 65 74 20 6d 65 20 74 72 | 79 20 74 6f 20 72 65 2d |et me tr|y to re-|
|000003e0| 6f 70 65 6e 20 74 68 65 | 20 66 69 6c 65 3f 0a 3e |open the| file?.>|
|000003f0| 20 20 20 20 20 20 2a 20 | 74 68 65 20 66 6f 72 6d | * |the form|
|00000400| 61 74 20 69 73 20 6e 6f | 74 20 75 6e 64 65 72 73 |at is no|t unders|
|00000410| 74 6f 6f 64 2c 20 77 6f | 75 6c 64 20 79 6f 75 20 |tood, wo|uld you |
|00000420| 73 75 67 67 65 73 74 20 | 6d 65 20 61 0a 3e 09 63 |suggest |me a.>.c|
|00000430| 6f 6e 76 65 72 74 65 72 | 3f 0a 3e 20 20 20 20 20 |onverter|?.> |
|00000440| 20 2a 20 74 68 65 20 65 | 6d 62 65 64 64 65 64 20 | * the e|mbedded |
|00000450| 6f 62 6a 65 63 74 20 69 | 73 20 72 65 2d 6c 6f 63 |object i|s re-loc|
|00000460| 61 74 65 64 2c 20 77 6f | 75 6c 64 20 67 69 76 65 |ated, wo|uld give|
|00000470| 20 6d 65 20 74 68 65 20 | 64 69 72 65 63 74 6f 72 | me the |director|
|00000480| 79 0a 3e 09 74 6f 20 74 | 68 65 20 6e 65 77 20 70 |y.>.to t|he new p|
|00000490| 6c 61 63 65 3f 0a 3e 0a | 3e 54 68 65 73 65 20 63 |lace?.>.|>These c|
|000004a0| 6f 6e 64 69 74 69 6f 6e | 73 20 61 72 65 20 6e 6f |ondition|s are no|
|000004b0| 74 20 65 72 72 6f 72 73 | 20 62 75 74 20 6f 6e 6c |t errors| but onl|
|000004c0| 79 20 72 65 71 75 69 72 | 65 20 73 6f 6d 65 20 65 |y requir|e some e|
|000004d0| 78 74 72 61 6f 72 64 69 | 6e 61 72 79 20 77 6f 72 |xtraordi|nary wor|
|000004e0| 6b 2e 0a 3e 53 69 6d 69 | 6c 61 72 20 65 78 61 6d |k..>Simi|lar exam|
|000004f0| 70 6c 65 73 20 77 65 72 | 65 20 61 6c 73 6f 20 67 |ples wer|e also g|
|00000500| 69 76 65 6e 20 62 79 20 | 42 69 6c 6c 20 46 6f 6f |iven by |Bill Foo|
|00000510| 74 65 20 69 6e 20 68 69 | 73 20 70 72 65 76 69 6f |te in hi|s previo|
|00000520| 75 73 20 70 6f 73 74 2e | 0a 3e 49 74 20 69 73 20 |us post.|.>It is |
|00000530| 6e 6f 74 20 68 61 72 64 | 20 66 6f 72 20 70 65 6f |not hard| for peo|
|00000540| 70 6c 65 20 74 6f 20 66 | 69 67 75 72 65 20 6f 75 |ple to f|igure ou|
|00000550| 74 20 6d 6f 72 65 20 65 | 78 61 6d 70 6c 65 73 20 |t more e|xamples |
|00000560| 74 68 61 74 20 72 65 71 | 75 69 72 65 73 20 74 68 |that req|uires th|
|00000570| 65 0a 3e 66 6f 6c 6c 6f | 77 69 6e 67 20 73 74 72 |e.>follo|wing str|
|00000580| 75 74 75 72 65 3a 0a 3e | 0a 3e 20 72 65 73 75 6c |uture:.>|.> resul|
|00000590| 74 09 3d 20 74 72 79 20 | 64 6f 5f 73 6f 6d 65 74 |t.= try |do_somet|
|000005a0| 68 69 6e 67 28 29 0a 3e | 09 20 20 7b 0a 3e 09 09 |hing().>|. {.>..|
|000005b0| 77 68 65 6e 20 63 6f 6e | 64 69 74 69 6f 6e 31 3a |when con|dition1:|
|000005c0| 20 73 6f 6d 65 5f 65 78 | 74 72 61 6f 72 64 69 6e | some_ex|traordin|
|000005d0| 61 72 79 5f 77 6f 72 6b | 31 3b 20 72 65 74 72 79 |ary_work|1; retry|
|000005e0| 3b 0a 3e 09 09 77 68 65 | 6e 20 63 6f 6e 64 69 74 |;.>..whe|n condit|
|000005f0| 69 6f 6e 32 3a 20 73 6f | 6d 65 5f 65 78 74 72 61 |ion2: so|me_extra|
|00000600| 6f 72 64 69 6e 61 72 79 | 5f 77 6f 72 6b 32 3b 20 |ordinary|_work2; |
|00000610| 72 65 74 72 79 3b 0a 3e | 09 09 77 68 65 6e 20 63 |retry;.>|..when c|
|00000620| 6f 6e 64 69 74 69 6f 6e | 33 3a 20 73 6f 6d 65 5f |ondition|3: some_|
|00000630| 65 78 74 72 61 6f 72 64 | 69 6e 61 72 79 5f 77 6f |extraord|inary_wo|
|00000640| 72 6b 33 3b 20 72 65 74 | 72 79 3b 0a 3e 09 09 77 |rk3; ret|ry;.>..w|
|00000650| 68 65 6e 20 63 6f 6e 64 | 69 74 69 6f 6e 34 3a 20 |hen cond|ition4: |
|00000660| 72 65 74 75 72 6e 20 6e | 75 6c 6c 3b 0a 3e 09 20 |return n|ull;.>. |
|00000670| 20 7d 0a 3e 0a 0a 49 20 | 74 68 69 6e 6b 20 74 68 | }.>..I |think th|
|00000680| 65 72 65 27 73 20 61 20 | 70 72 6f 62 6c 65 6d 20 |ere's a |problem |
|00000690| 77 69 74 68 20 74 68 69 | 73 20 22 73 74 72 61 74 |with thi|s "strat|
|000006a0| 65 67 79 22 2c 20 61 20 | 75 73 65 72 20 73 68 6f |egy", a |user sho|
|000006b0| 75 6c 64 20 62 65 20 61 | 62 6c 65 20 74 6f 20 63 |uld be a|ble to c|
|000006c0| 61 6e 63 65 6c 20 74 68 | 69 73 20 6b 69 6e 64 20 |ancel th|is kind |
|000006d0| 6f 66 20 6f 70 65 72 61 | 74 69 6f 6e 2c 0a 68 65 |of opera|tion,.he|
|000006e0| 72 65 20 73 6f 6d 65 5f | 65 78 74 72 61 6f 72 64 |re some_|extraord|
|000006f0| 69 6e 61 72 79 5f 77 6f | 72 6b 31 2e 2e 33 20 64 |inary_wo|rk1..3 d|
|00000700| 6f 6e 27 74 20 73 65 65 | 6d 20 74 6f 20 67 69 76 |on't see|m to giv|
|00000710| 65 20 74 68 65 20 75 73 | 65 72 20 61 20 63 68 61 |e the us|er a cha|
|00000720| 6e 63 65 20 74 6f 20 63 | 61 6e 63 65 6c 20 74 68 |nce to c|ancel th|
|00000730| 65 20 6f 70 65 72 61 74 | 69 6f 6e 2e 0a 0a 49 20 |e operat|ion...I |
|00000740| 66 69 6e 64 20 74 68 69 | 73 20 64 69 73 63 75 73 |find thi|s discus|
|00000750| 73 69 6f 6e 20 72 65 67 | 61 72 64 69 6e 67 20 75 |sion reg|arding u|
|00000760| 73 65 20 6f 66 20 65 78 | 63 65 70 74 69 6f 6e 73 |se of ex|ceptions|
|00000770| 20 76 65 72 79 20 69 6e | 74 65 72 65 73 74 69 6e | very in|terestin|
|00000780| 67 2e 20 49 20 66 69 6e | 64 20 6d 79 73 65 6c 66 |g. I fin|d myself|
|00000790| 20 61 20 63 6f 6d 70 6c | 65 74 65 20 22 64 75 6d | a compl|ete "dum|
|000007a0| 6d 79 22 20 0a 72 65 67 | 61 72 64 69 6e 67 20 65 |my" .reg|arding e|
|000007b0| 72 72 6f 72 2d 72 65 70 | 6f 72 74 69 6e 67 2f 65 |rror-rep|orting/e|
|000007c0| 78 63 65 70 74 69 6f 6e | 20 68 61 6e 64 6c 69 6e |xception| handlin|
|000007d0| 67 2c 20 61 6e 64 20 74 | 68 69 73 20 64 69 73 74 |g, and t|his dist|
|000007e0| 75 72 62 65 73 20 6d 65 | 20 61 20 6c 6f 74 20 62 |urbes me| a lot b|
|000007f0| 65 63 61 75 73 65 20 49 | 20 6f 74 68 65 72 77 69 |ecause I| otherwi|
|00000800| 73 65 20 6c 6f 6f 6b 20 | 75 70 6f 6e 20 0a 6d 79 |se look |upon .my|
|00000810| 73 65 6c 66 20 61 73 20 | 61 6e 20 65 78 70 65 72 |self as |an exper|
|00000820| 69 65 6e 63 65 64 20 70 | 72 6f 67 72 61 6d 6d 65 |ienced p|rogramme|
|00000830| 72 2c 20 62 75 74 20 64 | 6f 6e 27 74 20 6b 6e 6f |r, but d|on't kno|
|00000840| 77 20 68 6f 77 20 74 6f | 20 73 79 73 74 65 6d 61 |w how to| systema|
|00000850| 74 69 63 61 6c 6c 79 20 | 68 61 6e 64 6c 65 20 74 |tically |handle t|
|00000860| 68 69 73 20 65 6c 65 6d | 65 6e 74 61 72 79 2f 65 |his elem|entary/e|
|00000870| 76 65 72 79 64 61 79 20 | 0a 70 72 6f 62 6c 65 6d |veryday |.problem|
|00000880| 21 20 28 49 20 64 6f 6e | 27 74 20 74 68 69 6e 6b |! (I don|'t think|
|00000890| 20 49 27 6d 20 74 68 65 | 20 6f 6e 6c 79 20 6f 6e | I'm the| only on|
|000008a0| 65 20 69 6e 20 74 68 69 | 73 20 73 69 74 75 61 74 |e in thi|s situat|
|000008b0| 69 6f 6e 20 74 68 6f 75 | 67 68 2e 29 0a 0a 53 6f |ion thou|gh.)..So|
|000008c0| 6d 65 74 69 6d 65 73 20 | 49 20 66 69 6e 64 20 69 |metimes |I find i|
|000008d0| 74 20 63 6f 6d 66 6f 72 | 74 69 6e 67 20 74 6f 20 |t comfor|ting to |
|000008e0| 6b 6e 6f 77 20 74 68 61 | 74 20 61 20 66 75 6e 63 |know tha|t a func|
|000008f0| 74 69 6f 6e 20 72 65 74 | 75 72 6e 73 20 61 20 22 |tion ret|urns a "|
|00000900| 6e 65 61 72 6c 79 20 62 | 6f 6f 6c 65 61 6e 22 20 |nearly b|oolean" |
|00000910| 73 75 63 63 65 73 73 2d | 69 6e 64 69 63 61 74 6f |success-|indicato|
|00000920| 72 20 28 61 6e 64 20 0a | 64 6f 65 73 6e 27 74 20 |r (and .|doesn't |
|00000930| 66 69 72 65 20 61 6e 79 | 20 65 78 63 65 70 74 69 |fire any| excepti|
|00000940| 6f 6e 73 20 22 6f 75 74 | 73 69 64 65 20 6f 66 20 |ons "out|side of |
|00000950| 74 68 65 20 63 61 6c 6c | 65 65 22 29 2c 20 73 6f |the call|ee"), so|
|00000960| 20 74 68 61 74 20 61 6e | 20 65 78 63 65 70 74 69 | that an| excepti|
|00000970| 6f 6e 20 68 61 6e 64 6c | 65 72 20 69 73 20 6e 6f |on handl|er is no|
|00000980| 74 20 6e 65 63 65 73 73 | 61 72 79 20 74 6f 20 73 |t necess|ary to s|
|00000990| 65 74 20 0a 75 70 2e 20 | 42 75 74 20 73 6f 6d 65 |et .up. |But some|
|000009a0| 74 69 6d 65 73 20 69 74 | 20 69 73 20 6e 65 63 65 |times it| is nece|
|000009b0| 73 73 61 72 79 20 74 6f | 20 6b 6e 6f 77 20 6d 6f |ssary to| know mo|
|000009c0| 72 65 20 70 72 65 63 69 | 73 65 6c 79 20 77 68 61 |re preci|sely wha|
|000009d0| 74 20 77 65 6e 74 20 77 | 72 6f 6e 67 2f 68 61 70 |t went w|rong/hap|
|000009e0| 70 65 6e 65 64 2e 20 41 | 74 20 6c 65 61 73 74 20 |pened. A|t least |
|000009f0| 79 6f 75 20 73 6f 6d 65 | 74 69 6d 65 73 20 0a 68 |you some|times .h|
|00000a00| 61 76 65 20 74 6f 20 70 | 72 6f 70 61 67 61 74 65 |ave to p|ropagate|
|00000a10| 20 27 63 61 6e 63 65 6c | 27 2d 22 76 61 6c 75 65 | 'cancel|'-"value|
|00000a20| 73 22 2e 20 49 20 76 69 | 65 77 20 28 53 75 63 63 |s". I vi|ew (Succ|
|00000a30| 65 73 73 2c 20 46 61 69 | 6c 75 72 65 29 2c 20 28 |ess, Fai|lure), (|
|00000a40| 53 75 63 63 65 73 73 2c | 20 46 61 69 6c 75 72 65 |Success,| Failure|
|00000a50| 2c 20 43 61 6e 63 65 6c | 29 2c 20 28 53 75 63 63 |, Cancel|), (Succ|
|00000a60| 65 73 73 2c 20 0a 46 61 | 69 6c 75 72 65 2c 20 43 |ess, .Fa|ilure, C|
|00000a70| 61 6e 63 65 6c 2c 20 50 | 72 65 74 65 6e 64 53 75 |ancel, P|retendSu|
|00000a80| 63 63 65 73 73 2f 49 67 | 6e 6f 72 65 2c 20 49 6e |ccess/Ig|nore, In|
|00000a90| 76 61 6c 69 64 50 72 65 | 63 6f 6e 64 69 74 69 6f |validPre|conditio|
|00000aa0| 6e 73 29 20 65 74 63 20 | 61 73 20 61 70 70 72 6f |ns) etc |as appro|
|00000ab0| 78 69 6d 61 74 69 6f 6e | 73 20 6f 66 20 61 20 74 |ximation|s of a t|
|00000ac0| 72 75 65 2f 62 69 67 20 | 68 69 65 72 61 72 63 68 |rue/big |hierarch|
|00000ad0| 79 20 0a 6f 66 20 65 78 | 63 65 70 74 69 6f 6e 20 |y .of ex|ception |
|00000ae0| 6f 62 6a 65 63 74 73 2e | 20 53 6f 6d 65 74 69 6d |objects.| Sometim|
|00000af0| 65 73 20 49 20 66 69 6e | 64 20 74 68 65 73 65 20 |es I fin|d these |
|00000b00| 61 70 70 72 6f 78 69 6d | 61 74 69 6f 6e 73 20 73 |approxim|ations s|
|00000b10| 75 66 66 69 63 69 65 6e | 74 20 61 6e 64 20 65 61 |ufficien|t and ea|
|00000b20| 73 69 65 72 20 74 6f 20 | 77 6f 72 6b 20 77 69 74 |sier to |work wit|
|00000b30| 68 20 28 66 2e 69 2e 20 | 64 65 66 69 6e 65 64 20 |h (f.i. |defined |
|00000b40| 0a 61 73 20 65 6e 75 6d | 65 72 61 74 65 64 20 74 |.as enum|erated t|
|00000b50| 79 70 65 73 2c 20 61 6e | 64 20 72 65 74 75 72 6e |ypes, an|d return|
|00000b60| 65 64 20 74 6f 20 74 68 | 65 20 63 61 6c 6c 65 72 |ed to th|e caller|
|00000b70| 29 2e 20 53 69 6e 63 65 | 20 74 68 65 73 65 20 22 |). Since| these "|
|00000b80| 61 70 70 72 6f 78 69 6d | 61 74 69 6f 6e 73 22 20 |approxim|ations" |
|00000b90| 64 6f 65 73 6e 27 74 20 | 22 6a 75 6d 70 22 20 69 |doesn't |"jump" i|
|00000ba0| 6e 20 74 68 65 20 0a 63 | 61 6c 6c 2d 63 68 61 69 |n the .c|all-chai|
|00000bb0| 6e 2c 20 74 68 65 79 20 | 61 72 65 20 61 70 70 72 |n, they |are appr|
|00000bc0| 6f 78 69 6d 61 74 69 6f | 6e 73 20 69 6e 20 61 20 |oximatio|ns in a |
|00000bd0| 76 65 72 79 20 6c 69 6d | 69 74 65 64 20 73 65 6e |very lim|ited sen|
|00000be0| 73 65 2e 0a 0a 49 20 77 | 6f 75 6c 64 20 77 65 6c |se...I w|ould wel|
|00000bf0| 63 6f 6d 65 20 61 6e 79 | 20 22 65 79 65 2d 6f 70 |come any| "eye-op|
|00000c00| 65 6e 65 72 22 20 6f 6e | 20 74 68 69 73 20 69 73 |ener" on| this is|
|00000c10| 73 75 65 2c 20 77 68 65 | 6e 20 73 68 6f 75 6c 64 |sue, whe|n should|
|00000c20| 20 49 20 75 73 65 20 65 | 78 63 65 70 74 69 6f 6e | I use e|xception|
|00000c30| 73 2c 20 77 68 65 6e 20 | 74 6f 20 75 73 65 20 22 |s, when |to use "|
|00000c40| 6f 6c 64 22 20 0a 73 74 | 61 74 75 73 2d 76 61 6c |old" .st|atus-val|
|00000c50| 75 65 73 2c 20 77 68 65 | 6e 20 74 6f 20 22 6c 6f |ues, whe|n to "lo|
|00000c60| 67 2f 73 68 6f 77 22 20 | 65 78 70 65 63 74 69 6f |g/show" |expectio|
|00000c70| 6e 73 2f 65 72 72 6f 72 | 73 20 28 61 6b 6f 20 57 |ns/error|s (ako W|
|00000c80| 69 6e 64 6f 77 73 20 4e | 54 20 65 76 65 6e 74 2d |indows N|T event-|
|00000c90| 6c 6f 67 29 20 69 6e 20 | 70 72 6f 64 75 63 74 69 |log) in |producti|
|00000ca0| 6f 6e 20 73 79 73 74 65 | 6d 73 2c 20 69 6e 20 0a |on syste|ms, in .|
|00000cb0| 64 65 62 75 67 67 69 6e | 67 20 65 74 63 2e 0a 28 |debuggin|g etc..(|
|00000cc0| 44 61 72 65 20 49 20 6d | 65 6e 74 69 6f 6e 20 74 |Dare I m|ention t|
|00000cd0| 68 61 74 20 49 20 6f 6e | 63 65 20 77 72 6f 74 65 |hat I on|ce wrote|
|00000ce0| 20 61 20 70 61 72 73 65 | 72 20 74 68 61 74 20 66 | a parse|r that f|
|00000cf0| 69 72 65 64 20 61 6e 20 | 65 78 70 65 63 74 69 6f |ired an |expectio|
|00000d00| 6e 20 77 68 65 6e 20 74 | 68 65 20 4d 61 74 63 68 |n when t|he Match|
|00000d10| 2d 70 72 65 64 69 63 61 | 74 65 20 64 69 64 6e 27 |-predica|te didn'|
|00000d20| 74 20 73 75 63 63 65 65 | 64 3f 29 0a 0a 49 20 68 |t succee|d?)..I h|
|00000d30| 61 76 65 20 72 65 61 64 | 20 61 20 67 6f 6f 64 20 |ave read| a good |
|00000d40| 61 72 74 69 63 6c 65 20 | 77 72 69 74 74 65 6e 20 |article |written |
|00000d50| 62 79 20 42 65 72 74 72 | 61 6e 64 20 4d 65 79 65 |by Bertr|and Meye|
|00000d60| 72 20 6f 6e 20 74 68 65 | 20 69 73 73 75 65 20 6f |r on the| issue o|
|00000d70| 66 20 65 78 63 65 70 74 | 69 6f 6e 20 68 61 6e 64 |f except|ion hand|
|00000d80| 6c 69 6e 67 2c 20 62 75 | 74 20 69 74 20 77 61 73 |ling, bu|t it was|
|00000d90| 6e 27 74 20 65 6e 6f 75 | 67 68 20 0a 74 6f 20 22 |n't enou|gh .to "|
|00000da0| 65 6e 6c 69 67 68 74 65 | 6e 22 20 6d 65 2e 20 49 |enlighte|n" me. I|
|00000db0| 20 77 6f 75 6c 64 20 77 | 65 6c 63 6f 6d 65 20 72 | would w|elcome r|
|00000dc0| 65 66 65 72 65 6e 63 65 | 73 20 74 6f 20 6c 69 74 |eference|s to lit|
|00000dd0| 65 72 61 74 75 72 65 20 | 6f 6e 20 74 68 69 73 20 |erature |on this |
|00000de0| 73 75 62 6a 65 63 74 2e | 20 0a 0a 52 65 67 61 72 |subject.| ..Regar|
|00000df0| 64 73 2c 0a 0a 4a 61 72 | 6c 65 0a 0a |ds,..Jar|le.. |
+--------+-------------------------+-------------------------+--------+--------+